package com.my.study.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Carlos
 * @version 1.0.0
 * @date 2021/12/10 8:25
 */
@ConfigurationProperties(prefix = "custom")
public class CustomProperties {

    private String myName;

    private int myAge;


    public String getMyName() {
        return myName;
    }

    public void setMyName(String myName) {
        this.myName = myName;
    }

    public int getMyAge() {
        return myAge;
    }

    public void setMyAge(int myAge) {
        this.myAge = myAge;
    }
}
